/**
 * 
 */
package com.lvan.dao.mapper;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.lvan.bean.Product;

/**
 * @author Stern He<br>
 * 2013-9-26<br>
 * @version 1.0.0.0 
 */
public interface ProductMapper {

    public List<Product> query(Map<String, Object> m);
    
    public int delete(Serializable ids);
    
    public int update(Product product);

    public int add(Product product);
    
    public Product getByID(Serializable id);
    
    public int count(Product product);
    
}
